{Common::css("supplier_pub.css")}
{Common::js("jquery.min.js")}
{Common::js("jquery.waypoints.min.js,jquery.countup.min.js,supplier_pub.js")}
{Common::js("layer/layer.js")}
<div class="supplier-header-container clearfix">
    <div class="header-admin">
        <div class="header-admin-info">
            <a href="javascript:;">
                <img class="img face-img" src="{if $userinfo['litpic']}{$userinfo['litpic']}{else}/supplier/public/pc/images/new/member_nopic.png{/if}" alt="">
                <span class="name">{$userinfo['suppliername']}</span>
            </a>
        </div>
        <div class="header-admin-off"><a href="javascript:;" onclick="log_out()" class="label-off" title="退出"></a></div>
    </div>
</div>
<script>
    function log_out()
    {
        layer.confirm('确认退出登录吗？',{
            title: '确认信息',
            area: ['300px'],
            btn: ['确认','取消']
        }, function(){
            layer.msg('退出成功!',{time: 800});
            window.name = '';
            setTimeout(function () {
                window.location.href = "/supplier/pc/login/login_out";
            },100);
        });
    }
</script>